home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
gnustuff
/
minix
/
update~4.z
/
update~4
/
lib_stdio_rewind.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1989-09-06
|
330 b
|
23 lines
/* r e w i n d
*
* This function rewinds a stream to the beginning of the file.
* It is equivalent to fseek(fp, 0L, 0) except that no value
* is returned.
*
* Patchlevel 1.0
*
* Edit History:
*/
#include "stdiolib.h"
/*LINTLIBRARY*/
void rewind(fp)
FILE *fp; /* stream */
{
(void) fseek(fp, 0L, SEEK_SET);
}